package com.xbongbong.pro.common.pojo.dto;

import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotNull;

/**
 * 查重公共的限定条件
 * @author feng.zheng
 * @version v1.0
 * @date 2019/1/31 15:51
 * @since v1.0
 */
@Setter
@Getter
@ToString
public class RepeatCommonConditionDTO extends BaseDTO {


    private static final long serialVersionUID = -169483179278479700L;

    /**
     * 应用id
     */
    @NotNull(message = "{dto.msg.repeatCommonCondition.appId.NotNull}")
    private Long appId;

    /**
     * 菜单id
     */
    @NotNull(message = "{dto.msg.repeatCommonCondition.menuId.NotNull}")
    private Long menuId;

    /**
     * saas标识
     */
    private Integer saasMark;

    /**
     * 业务类型
     */
    private Integer businessType;
}
